package com.example.consumer.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ProducerControllerImpl implements ProducerController {

    @Override
    public String test(String id) {
        String massage = "远程调用失败，熔断器执行，服务被降级";
        log.error(massage);
        return massage;
    }
}
